package com.cy.pojo;

import com.alibaba.fastjson.JSONObject;

import java.util.UUID;
import java.util.concurrent.ConcurrentMap;

/**
 * Created by PVer on 2017/7/18.
 */
public class BasicPojo {

    /**
     * redis币开头key
     */
    public static final String PRICE = "JAVA_PRICE";
    /**
     * redis交易所开头key
     */
    public static final String EX = "JAVA_EX";
    /**
     * redis以交易所为单位，该交易所每个币种的排行
     */
    public static final String EXTOP = "JAVA_TOP";
    /**
     * redis每个交易所第一名
     */
    public static final String TOPRECORD = "JAVA_TOP_RECORD";
    /**
     * redis公告
     */
    public static final String ICO = "JAVA_ICO";
    /**
     * redis公告
     */
    public static final String NOTICE = "JAVA_NOTICE";
    /**
     * redis微信缓存
     */
    public static final String WX = "JAVA_WX";
    /**
     * redis推特缓存
     */
    public static final String TT = "JAVA_TT";
    /**
     * redis微博缓存
     */
    public static final String WB = "JAVA_WB";
    /**
     * 指令集合
     */
    public static final String COMMAND = "JAVA_COMMAND";
    /**
     * 微信用戶
     */
    public static final String USER = "JAVA_USER";
    /**
     * 买方资金流
     */
    public static final String FundFlow = "JAVA_FF";
    /**
     * 微信群好友
     */
    private static ConcurrentMap<String, String> groupMap;
    /**
     * 微信好友
     */
    private static ConcurrentMap<String, String> userMap;
    /**
     * 公告缓存
     */
    public static JSONObject ggObject = new JSONObject();
    /**
     * 付费用户
     */
    public static final String PAY = "vip_channel";
    /**
     * 非付费用户
     */
    public static final String NOTPAY = "delay_channel";
    /**
     * 资金流动监控大于100W
     */
    public static final String BIGMONEY = "1000000";

    public static String groupId = UUID.randomUUID().toString();

}
